﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;

namespace BUS
{
    public class Sim_LoaiSimBUS
    {
        public static bool XoaSim_LoaiSim(Sim_LoaiSimDTO sim_loaisimDTO)
        {
            return Sim_LoaiSimDAO.XoaSim_LoaiSim(sim_loaisimDTO);
        }

        public static List<LoaiSimDTO> DanhSachSim_LoaiSim(int maSanPham)
        {
            return Sim_LoaiSimDAO.DanhSachSim_LoaiSim(maSanPham);
        }

        public static bool ThemSim_LoaiSim(Sim_LoaiSimDTO sim_loaisimDTO)
        {
            return Sim_LoaiSimDAO.ThemSim_LoaiSim(sim_loaisimDTO);
        }

    }
}
